<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,user-scalable=no,minimal-ui">
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="icon" href="../img/asset-favico.ico">
        <title>传智健康</title>
        <link rel="stylesheet" href="../css/page-health-index.css" />
        <link rel="stylesheet" href="../css/page-health-login.css" />
        <link rel="stylesheet" href="../plugins/elementui/index.css" />
        <script src="../plugins/jquery/dist/jquery.min.js"></script>
        <script src="../plugins/healthmobile.js"></script>
        <script src="../plugins/vue/vue.js"></script>
        <script src="../plugins/vue/axios-0.18.0.js"></script>
        <script src="../plugins/elementui/index.js"></script>

        <link rel="stylesheet" href="../css/page-health-report.css" />
        <script>
            var mid = getUrlParam("mid");//从URL地址栏获取体检套餐id
        </script>
    </head>
    <body data-spy="scroll" data-target="#myNavbar" data-offset="150">
        <div id="app" class="app">
            <!-- 页面头部 -->
            <div class="top-header">
                <span class="f-left"><i class="icon-back" onclick="history.go(-1)"></i></span>
                <span class="center">传智健康</span>
                <span class="f-right"><i class="icon-more"></i></span>
            </div>
           <!-- &lt;!&ndash; 页面内容 &ndash;&gt;

            <div class="contentBox">
                <div class="list-column2">
                    <ul class="list">
                        <li class="type-item" style="width: 100%" v-for="item in InfoList">
                            <a class="link-page">
                                <div class="type-title">
                                    <h3>{{item.mname}}</h3>
                                    <p >{{item.sex == '1' ? '男' : '女'}}</p>
                                    <p>{{item.sname}}</p>
                                    <p>{{item.uploadTime}}</p>
                                </div>
                                <div class="type-icon">
                                    <a :href="'http://q3ptar6s3.bkt.clouddn.com/'+item.file">查看</a>
                                </div>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
-->
            <!-- 页面内容 -->
            <div class="contentBox">
                <div class="list-row3">
                    <div class="report-item" v-for="item in InfoList">
                        <div class="item-name">
                            <div class="info">
                                <p>姓名:<span>{{item.mname}}</span></p>
                                <p>性别:<span>{{item.sex == '1' ? '男' : '女'}}</span></p>
                            </div>
                        </div>
                        <div class="item-content">
                            <div class="type-title">
                                <p>体检日期：<span>{{item.checkDate}}</span></p>
                                <p>档案号：<span>{{item.fileNumber}}</span></p>
                                <p>体检套餐：<span>{{item.sname}}</span></p>
                                <p>上传时间：<span>{{item.uploadTime}}</span></p>
                            </div>

                        </div>
                        <div class="item-link">
                            <a :href="'http://q3ptar6s3.bkt.clouddn.com/'+item.file">体检报告</a>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </body>
    <script>
        var vue = new Vue({
            el:'#app',
            data:{
                InfoList:[]
            },
            mounted(){
                axios.post("/physical/findRecord.do?id="+mid).then((response) => {
                    this.InfoList = response.data.data;
                });
            }
        });
    </script>
</html>